package com.dragon.refect.gc;

/**
 * PretenureSizeThreshold: 设置对象超过多大时直接在老年代进行分配
 *
 *
 *
 * @author dragon
 * @since 2019/12/13
 */
public class MyTest2 {

    public static void main(String[] args) {
        int size = 1024 * 1024;

        byte[] myAlloc = new byte[5 * size];

    }
}
